package com.atguigu.gmall.search;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
/**
 * 平台属性
 */
public class SearchAttr {
    //平台属性id
    @Field(type = FieldType.Long)
    private  Long attrId;
    //平台属性值名称
    @Field(type =FieldType.Keyword)
    private  String  attrValue;
    //平台属性名称
    @Field(type = FieldType.Keyword)
    private  String attrName;

}
